package www.yingdi365.com.model;

import java.io.Serializable;
import java.util.List;

public class QingJianBean implements Serializable {
    /**
     * name : page02
     * preview : http://img.yingdi365.com/mk/admin/invitation/201706010007/preview2.jpg
     * bgImage : http://img.yingdi365.com/mk/admin/invitation/201706010007/b20.png
     * bgColor : #F8FCFF
     * bgResponse : false
     * items : [{"type":"picture","diy":false,"animate":{"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b24","text":{},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010007/b24.png","x":99,"y":114,"width":445,"height":677,"vx":99,"vy":114,"vwidth":445,"vheight":677}},{"type":"picture","diy":true,"animate":{"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"t21","text":{},"picture":{"url":"http://y.ud.fjqyx.com/41498621370/42a0d35a054d9d5d65d66e701db52a033354d1b8","x":103,"y":118,"width":446,"height":669,"vx":103,"vy":118,"vwidth":437,"vheight":669}},{"type":"picture","diy":false,"animate":{"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b21","text":{},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010007/b21.png","x":53,"y":93,"width":90,"height":95,"vx":53,"vy":93,"vwidth":90,"vheight":95}},{"type":"picture","diy":false,"animate":{"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b22","text":{},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010007/b22.png","x":516,"y":70,"width":57,"height":252,"vx":516,"vy":70,"vwidth":57,"vheight":252}},{"type":"picture","diy":false,"animate":{"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b23","text":{},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010007/b23.png","x":50,"y":871,"width":539,"height":18,"vx":50,"vy":871,"vwidth":539,"vheight":18}}]
     */

    private String name;
    private String preview;
    private String bgImage;
    private String bgColor;
    private boolean bgResponse;
    private List<ItemsBeanX> items;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public String getBgImage() {
        return bgImage;
    }

    public void setBgImage(String bgImage) {
        this.bgImage = bgImage;
    }

    public String getBgColor() {
        return bgColor;
    }

    public void setBgColor(String bgColor) {
        this.bgColor = bgColor;
    }

    public boolean isBgResponse() {
        return bgResponse;
    }

    public void setBgResponse(boolean bgResponse) {
        this.bgResponse = bgResponse;
    }

    public List<ItemsBeanX> getItems() {
        return items;
    }

    public void setItems(List<ItemsBeanX> items) {
        this.items = items;
    }

    public static class ItemsBeanX implements Serializable {
        /**
         * type : picture
         * diy : false
         * animate : {"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"}
         * id : b24
         * text : {}
         * picture : {"url":"http://img.yingdi365.com/mk/admin/invitation/201706010007/b24.png","x":99,"y":114,"width":445,"height":677,"vx":99,"vy":114,"vwidth":445,"vheight":677}
         */

        private String type;
        private boolean diy;
        private AnimateBeanX animate;
        private String id;
        private TextBeanX text;
        private PictureBeanX picture;
        private int index;

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public boolean isDiy() {
            return diy;
        }

        public void setDiy(boolean diy) {
            this.diy = diy;
        }

        public AnimateBeanX getAnimate() {
            return animate;
        }

        public void setAnimate(AnimateBeanX animate) {
            this.animate = animate;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public TextBeanX getText() {
            return text;
        }

        public void setText(TextBeanX text) {
            this.text = text;
        }

        public PictureBeanX getPicture() {
            return picture;
        }

        public void setPicture(PictureBeanX picture) {
            this.picture = picture;
        }

        public static class AnimateBeanX implements Serializable {
        }

        public static class TextBeanX implements Serializable {
            /**
             * tag : null
             * content : null
             * x : null
             * xDirection : null
             * y : null
             * yDirection : null
             * fontSize : null
             * width : null
             * height : null
             */

            private String tag;
            private String content;
            private int x;
            private String xDirection;
            private int y;
            private String yDirection;
            private String fontSize;
            private int width;
            private int height;

            public String getTag() {
                return tag;
            }

            public void setTag(String tag) {
                this.tag = tag;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getX() {
                return x;
            }

            public void setX(int x) {
                this.x = x;
            }

            public String getXDirection() {
                return xDirection;
            }

            public void setXDirection(String xDirection) {
                this.xDirection = xDirection;
            }

            public int getY() {
                return y;
            }

            public void setY(int y) {
                this.y = y;
            }

            public String getYDirection() {
                return yDirection;
            }

            public void setYDirection(String yDirection) {
                this.yDirection = yDirection;
            }

            public String getFontSize() {
                return fontSize;
            }

            public void setFontSize(String fontSize) {
                this.fontSize = fontSize;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }
        }

        public static class PictureBeanX implements Serializable {
            /**
             * url : http://img.yingdi365.com/mk/admin/invitation/201706010007/b24.png
             * x : 99
             * y : 114
             * width : 445
             * height : 677
             * vx : 99
             * vy : 114
             * vwidth : 445
             * vheight : 677
             */

            private String url;
            private int x;
            private int y;
            private int width;
            private int height;
            private int vx;
            private int vy;
            private int vwidth;
            private int vheight;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getX() {
                return x;
            }

            public void setX(int x) {
                this.x = x;
            }

            public int getY() {
                return y;
            }

            public void setY(int y) {
                this.y = y;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getVx() {
                return vx;
            }

            public void setVx(int vx) {
                this.vx = vx;
            }

            public int getVy() {
                return vy;
            }

            public void setVy(int vy) {
                this.vy = vy;
            }

            public int getVwidth() {
                return vwidth;
            }

            public void setVwidth(int vwidth) {
                this.vwidth = vwidth;
            }

            public int getVheight() {
                return vheight;
            }

            public void setVheight(int vheight) {
                this.vheight = vheight;
            }
        }
    }
}